import vueRouter from 'vue-router'
import Vue from 'vue'

Vue.use(vueRouter)

const router = new vueRouter({
    routes: [
        {
            name: 'count',
            path: '/count',
            component: () => import('./views/count')
        },
        {
            name: 'mapState',
            path: '/store',
            component: () => import('./views/store1')
        },
        {
            name: 'getters',
            path: '/getters',
            component: () => import('./views/getters')
        },
        {
            name: 'mutations',
            path: '/mutations',
            component: () => import('./views/mutations')
        }
    ]
})

export default router